<?php
$this->breadcrumbs=array(
	'Users',
);
if(Yii::app()->user->name ==='admin'){
    $this->menu=array(
    	array('label'=>'Create Users', 'url'=>array('create')),
    	array('label'=>'Manage Users', 'url'=>array('admin')),
        array('label'=>'User Profiles', 'url'=>array('userProfiles/index')),
    );
}
else{
    $this->menu=array(
        array('label'=>'User Profiles', 'url'=>array('userProfiles/index')),
    );
}

?>

<h1>Thành Viên</h1>

<?php $this->widget('zii.widgets.CListView', array(
	'dataProvider'=>$dataProvider,
	'itemView'=>'_view',
)); ?>
